AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions
AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions
/
com.appdimens.dynamic.core
/
ResizeRangePx
Resize
Range
Px
data
class
ResizeRangePx
(
val
minPx
:
Float
,
val
maxPx
:
Float
,
val
stepPx
:
Float
)
EN Normalizes min/max order;
steps
covers [
lowPx
,
highPx
] with
stepPx
granularity.
Members
Members & Extensions
Constructors
Resize
Range
Px
Link copied to clipboard
constructor
(
minPx
:
Float
,
maxPx
:
Float
,
stepPx
:
Float
)
Properties
high
Px
Link copied to clipboard
val
highPx
:
Float
low
Px
Link copied to clipboard
val
lowPx
:
Float
max
Px
Link copied to clipboard
val
maxPx
:
Float
min
Px
Link copied to clipboard
val
minPx
:
Float
step
Px
Link copied to clipboard
val
stepPx
:
Float
steps
Link copied to clipboard
val
steps
:
FloatArray
Functions
fitting
Px
Link copied to clipboard
fun
ResizeRangePx
.
fittingPx
(
fits
:
(
candidatePx
:
Float
)
->
Boolean
)
:
Float
resolve
Fitting
Link copied to clipboard
fun
resolveFitting
(
fits
:
(
Float
)
->
Boolean
)
:
Float